c : the Cool Command-line CalCulator Version 1.56 (The shareware version) Featuring: :The four common math operations (+, -, *, and /) :Percentage function :Exponent and root functions :Control parameters for formatting output :PI constant :Natural log. function :Support for all real numbers up to 18 digits long :Time/date functions :Easy access from DOS-Not a TSR! :Cool manual (what you're reading right now) :On-line help :CHEAP ($5) registration fee This program is SHAREWARE! Please register it! I put a lot of time and effort into writing this program, and, if I do say so myself, it's came out very well. I took the time to test it against other programs of the same nature, and it came out on top. While some programs were undoubtably more powerful, they generally had much higher registration fees. And not one of them had all the features of c v1.56. Please, it's REALLY cheap! Five bucks! If you can't afford five dollars, you should sell your computer.... Plus registration gets lots of cool stuff. I'll send you the new version of c, which I should finish in a few weeks and will hopefully include geometric and algebraic functions, my undying gratitude, and, if you're on the internet or CServe, notices every time a new version of c comes out. Register on CompuServe! Easy. Just GO swreg, this is #2193. Or send the fee to: Tom Wilson 3172 18th st. NW Washington, DC 20010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Handy manual for c v1.56: Easy usage: C supports the four basic mathematical operations: addition, subtraction, multiplication, and division. It also supports all real numbers up to 18 digits long, making it WAY more powerful than your standard calculator. To use on of these functions, simply type "c [x] [y] [z]" at the DOS prompt, with x being the first operand, y the operator, and z the second operand. So four times four would be written: c 4 * 4 Other examples: c 8.875 + 89.35601 (addition) c 12 - 90.6835 (subtraction) c 100.34 * 12.99148 (multiplication) c 16.5 / 10002301.34 (division) Exponents and roots: C also has functions for finding a number to a power, and the various roots of a number. The operators are '^' (exponent operator) and 'r' (root operator). These are used the same way as the simple operations. Twenty to the third power would be written: c 20 ^ 3 The cube root of twenty would be written c 20 r 3 NOTE: The exponent operator ('^') supports real numbers, but the root function does not. If you enter a root with a decimal value, it will be rounded to the nearest integer. So, c 4 r 2.3 would be the same as c 4 r 2 Percentages: C also has a function for finding percentages of numbers. This is the '%' operator. This function works like the standard operator also, twenty-four percent of eighty is written: c 24 % 80 The percentage function ('%') support as real numbers up to 18 digits, just like the common operators. Control parameters: C also features several control parameters which are used to format the output of the above functions (and ONLY the above functions). Normally, c displays the answer to the third decimal place, but you can change this with the control parameters. The control parameters are : +L, +E, +R, +T, and +N. Their uses are shown below: The +L function displays the result of the operation to the 5th decimal place. For example: c 4.673 * 6.3873 +L (The result is shown to the fifth decimal place) The +E function displays the result of the operation to the tenth decimal place. For example c 6.675 / 8.30012 +E (The result is shown to the tenth decimal place) The +R function rounds a number to the nearest integer. So a result of 4.5601 would be shown as 5. For example: c 12.776 + 6.987 +R (Result is rounded to the nearest integer) The +T function truncates the decimal value from the answer. So a result of 4.5601 would be shown as 4. For example: c 9801.24 - 24.998 +T (Decimal value in result is truncated) The +N function displays the answer in exponential notation, which the decimal value rounded to the nearest integer. For example: c 78.98 + 200 +N (Result is shown in exponential notation) PI constant: C includes a constant for PI, which is written as p. The PI constant can be used anywhere in the program. For instance: c 18 + p, or c p % 205 Natural Logarithm function: C also includes a function for gaining the natural log of a number, or log to base e. This is written as LN. It usage is "c ln [x]", where x equals any real number. For example: c ln 67.34 The PI constant works with ln. It is used: c ln p None of the control parameters works with ln. It always displays the result to the fifth decimal place. Time/date functions: Finally, c includes two other non math-related functions, time and date. Time displays the current time (according to the clock in your PC), and date shows the current date. Their usage is simple, type "c time" or "c date" to access these. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Remember, if you continue to use this software without registering it, you are in violation of a federal law. Plus, you are depriving me of money which I need to further my education (or upgrade my computer). It's just five bucks, people. Register on Compuserve, GO swreg; this is program # . Thank you for your support.... :) Questions and comments are welcome. Write me and say what you would like in the next version. I'm available at CIS address: 72732,152, or Prodigy ID: XDKP09E. If your on the internet, that's XDKP09E@prodigy.com. Remember to register!